package com.naiterui.ehp.bs.esign.repository.mongo;

import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseMongoRepository;
import com.naiterui.ehp.bs.esign.entity.mongo.MedicalRecord;

/**
 * @author wangzehao
 * @date 2018/10/16 2:01 PM
 * @since 1.0.0
 */
@Repository
public interface EsignMedicalRecordRepository extends BaseMongoRepository<MedicalRecord, String> {

    MedicalRecord findByIdAndCaseTypeAndAvailableNot(String id, Integer caseType, Integer available);

}
